package com.tt.fashionWebSite.domain;

import javax.persistence.*;
import java.io.Serializable;

@SuppressWarnings("serial")
@Entity
@Table(name = "danh_muc_bv")
@NamedQueries({
        @NamedQuery(name = "getAllCategory", query = "SELECT c FROM DanhMucBaiViet c")
})
public class DanhMucBaiViet implements Serializable {
    public static final String GET_INFO_CATEGORY = "getAllCategory";

    @Id
    @Column(name = "MA_DM_BV")
    private String maDMBV;

    @Column(name = "TEN_DM")
    private String tenDM;

    public String getMaDMBV() {
        return maDMBV;
    }

    public void setMaDMBV(String maDMBV) {
        this.maDMBV = maDMBV;
    }

    public String getTenDM() {
        return tenDM;
    }

    public void setTenDM(String tenDM) {
        this.tenDM = tenDM;
    }
}
